<?php
require_once('Connections/tecno.php'); 
require_once('scripts/fechaMysqlNormal.php');

mysql_select_db($database_tecno, $tecno);
extract($_REQUEST);
$query_detallesc = "SELECT * FROM detallescliente WHERE id='$id' AND detallescliente.idContrato = 0 GROUP BY idArt ORDER BY fechaV";
$detallesc = mysql_query($query_detallesc, $tecno) or die(mysql_error());
$row_detallesc = mysql_fetch_assoc($detallesc);
$totalRows_detallesc = mysql_num_rows($detallesc);
?>
